<!--
 * @Author: CDKEY
 * 函数式插件
-->
<template>
  <div>
    <div class="dialog" v-show="dialogFormVisible">
      {{ title }}
      <button @click="cancel">关闭</button>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      dialogFormVisible: false,
      title: "",
      list: [],
      header: [],
    };
  },
  methods: {
    getProductCheckResult(options) {
      this.type = options.type;
      this.title = options.msg;
      this.list = options.data;
      this.dialogFormVisible = true;
    },
    cancel() {
      this.dialogFormVisible = false;
    },
  },
};
</script>